html,body{
    width: 100%;
    height: 100%;
}
.reds{
    color: red;
}
// 主题内容
// main
main{
    width: 100%;
    min-height :673px;
    background-color: #f6f6f6;
    // overflow: hidden;
    .banner{
        height: 380px;
        width: 1200px;
        margin: 0 auto;
        // overflow: hidden;
        background-color: #f6f6f6;
        .banner-left{
            width: 210px;
            height: 380px;
            float: left;
            background-color: #ffffff;
            ul{
                float: left;
                
                width: 189px;
                height: 100%;
                margin-left: 11px;
                // background-color: #e2e2e2;
                li{
                    width: 93px;
                    height: 55px;
                    float: left;
                    display: flex;
                    list-style: none;
                    border-bottom: 1px dotted #cccccc;
                    a{
                        float: left;
                        width: 93px;
                        height: 55px;
                        display: flex;
                        text-decoration: none;
                        justify-content: center;
                        align-items: center;
                        // justify-content: space-around;
                        b{
                            color: #5e5e5e;
                            font-weight: normal;
                            font-size: 12px;
                            
                        }
                        i{
                            color: #cfcfcf;
                            font-size: 23px;
                        }
                        &:hover{
                            i{
                                color: #ff464e;
                            }
                            b{
                                color: #ff464e;
                            }
                        }
                    }

                }
                li:nth-child(19){
                    border-bottom: none;
                }
                li:nth-child(21){
                    border-bottom: none;
                }
                span{
                    // display: inline-block;
                    float: left;
                    width: 1px;
                    height: 15px;
                    background-color: #eeeeee;
                    margin-top: 20px;
                }
            }
        }
        // 轮播图
        .banner-center{
            width: 700px;
            height: 360px;
            float: left;
            // background-color: blueviolet;
            margin-top: 20px;
            margin-left: 20px;
            margin-right: 20px;
            .swiper {
                width: 100%;
                height: 100%;
              }
        
              .swiper-slide {
                text-align: center;
                font-size: 18px;
                background: #fff;
        
                /* Center slide text vertically */
                display: -webkit-box;
                display: -ms-flexbox;
                display: -webkit-flex;
                display: flex;
                -webkit-box-pack: center;
                -ms-flex-pack: center;
                -webkit-justify-content: center;
                justify-content: center;
                -webkit-box-align: center;
                -ms-flex-align: center;
                -webkit-align-items: center;
                align-items: center;
              }
        
              .swiper-slide img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
              }
        
 
        }
        // banner右边部分
        .banner-right{
            width: 250px;
            height: 360px;
            float: right;
            margin-top: 20px;
            background-color: #ffffff;
            .banner-right-top{
                width: 250px;
                height: 240px;
                float: left;
                ul{
                    width: 250px;
                    height: 240px;
                    display: flex;
                    flex-wrap: wrap;
                    li{
                        width: 124px;
                        height: 119px;
                        border-bottom: 1px solid #e2e2e2;
                        list-style: none;
                        a{
                            float: left;
                            width: 100%;
                            height: 100%;
                            img{
                                width: 100%;
                                height: 100%;
                            }
                        }
                        
                    }
                    li:nth-child(1){
                        border-right: 1px solid #e2e2e2;
                    }
                    li:nth-child(3){
                        border-right: 1px solid #e2e2e2;
                    }
                }
            }
            .banner-right-bottom{
                width: 250px;
                height: 120px;
                float: left;
                // background-color: #ff464e;
            }
        }
    }
    section{
        width: 1200px;
        min-height: 300px;
        margin: 0 auto;
        // border: 1px solid red;
        .tops{
            width: 100%;
            min-height: 310px;
            margin-top: 30px;
            font-size: 14px;
            color: #bbbbbb;
            padding: 0px 22px 0px 18px;
            // border: 1px solid red;
            background-color: #fff;
            .top-tit{
                height: 62px;
                width: 100%;
                // border: 1px solid brown;
                display: flex;
                align-items: center; 
                justify-content: space-between;
                b{
                    font-size: 20px;
                    color: #000;
                }
            }
            // 内容区域
            .bann{
                width: 100%;
                height: 172px;
                display: flex;
                justify-content: space-between;
                // border: 1px solid greenyellow;
                div{
                    width: 280px;
                    height: 100%;
                    position: relative;
                    // border: 1px solid red;
                    img{
                        width: 100%;
                        height: 130px;
                    }
                    dl{
                        height: 42px;
                        float: left;
                        margin-top: 10px;
                        margin-left: 10PX;
                        dt{
                            float: left;
                            img{
                                width: 60px;
                                height: 30px;
                            }
                        }
                        dd{
                            float: left;
                            line-height: 30px;
                            i{
                                font-style: normal;
                            }
                        }
                    }
                    input{
                        float: right;
                        width: 70px;
                        height: 26px;
                        margin-top: 8px;
                        margin-right: 10PX;
                        border: none;
                        color: red;
                        background-color: transparent;
                    }
                    &:hover input{
                        background-color: red;
                        color: #fff;
                    }
                    p{
                        position: absolute;
                        width: 280px;
                        height: 24px;
                        background-color: #444;
                        color: #cfcfcf;
                        top: 105px;
                        opacity: 0.7;
                        text-align: center;
                        line-height: 24px;
                        font-size: 12px;
                    }
                }
            }
             // 更多品牌
            .ban-foot{
                height: 76px;
                width: 950px;
                // border: 1px solid red;
                ul{
                    height: 76px;
                    width: 1100px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    li{
                        width: 70px;
                        height: 35px;
                        // border: 1px solid red;
                    }
                    .last-li{
                        line-height: 35px;
                        font-size: 13px;
                        margin-left: 80px;
                    }
                }
            }
        }
        .shopp{
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            .shopping{
                width: 228px;
                height: 274px;
                border: 1px solid transparent;
                padding-top: 3px;
                margin-bottom: 26px;
                div{
                    width: 100%;
                    height: 221px;
                    position: relative;
                    a{
                        display: inline-block;
                        width: 100%;
                        height: 100%;
                        img{
                            max-width: 226px;
                            height: 221px;
                            position: absolute;
                            top: 0;
                            bottom: 0;
                            left: 0;
                            right: 0;
                            margin: auto;
                        }
                    }         
                }
                p{
                    margin-top: 7px;
                    margin-left: 10px;
                    width: 100%;
                    margin-bottom: 7px;
                    a{
                       
                        margin-top: 10px;
                        color: #333333;
                        font-size: 12px;
                    }
                    span{
                        font-size: 12px;
                        color: #bbbbbb;
                        margin-left: 5px;
                    }
                    &:nth-child(2) span{
                        text-decoration:line-through;
                    }
                    &:nth-child(3) span{
                        float: right;
                        margin-right: 10px;
                    }
                }
                &:hover{
                    border: 1px solid rgb(235,235,235);
                }
            }
        }
    }

}
.hide{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

aside{
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 34px;
    // border: 1px solid red;
    background-color: #444444;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .r-top{
        width: 100%;
        height: 280px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        div{
            cursor: pointer;
        }
        div:nth-child(1){
            width: 100%;
            height: 37px;
            text-align: center;
            line-height: 37px;
            // border: 1px solid red;
            position: relative;
            color: #bbb;
            .login{
                position: absolute;
                // display: none;
                opacity: 0;
                width: 220px;
                height: 138px;
                right: 87px;
                top: 0;
                background-color: #fff;
                // border: 1px solid red;
                box-shadow: -2PX 2PX 2PX #eee;
                transition:all .5s ease-in-out;
                dl{
                    width: 100%;
                    height: 160px;
                    dt{
                        width: 100%;
                        height: 88px;
                        span{
                            display: inline-block;
                            width: 65px;
                            height: 65px;
                            border-radius: 50%;
                            margin-top: 20px;
                            border: 1px solid #eee;
                        }
                    }
                    dd{
                        width: 100%;
                        height: 32px;
                        font-size: 12px;
                        line-height: 32px;
                        border-top: 2px solid rgb(255,214,215);
                        border-bottom: 2px solid rgb(255,214,215);
                        background-color: rgb(255,243,245);
                        position: relative;
                        color: #000;
                        i{
                            font-style: normal;
                        }
                        span{
                            display: inline-block;
                            position: absolute;
                            border-left: 10px solid #fff;
                            border-top: 10px solid transparent;
                            border-right: 10px solid transparent;
                            border-bottom: 10px solid transparent;
                            top: -83px;
                            right: -20px;
                        }
                    }
                }   
            }
            &:hover{
                color: #fff;
                background-color: red;
                .login{
                    display: block;
                    opacity: 1;
                    right: 37px;
                }   
            }
        }
        // 购物袋图标
        div:nth-child(2){
            width: 100%;
            height: 122px;
            padding: 0px 10px;
            color: #bbb;
            font-size: 15px;
            padding-top: 10px;
            border-top: 1px solid #000;
            border-bottom: 1px solid #000;
            a{
                display: inline-block;
                width: 100%;
                height: 100%;
                color: #bbb;
                span{
                    display: inline-block;
                    color: #fff;
                    text-align: center;
                    background-color: red;
                    width: 17px;
                    height: 17px;
                    border-radius: 50%;
                    font-size: 12px;
                    margin-top: 3px;
                    line-height: 17px;
                }
            }
            
            &:hover{
                display: block;
                right: 47px;
                color: #fff;
                background-color: red;
                span{
                    background-color: #fff;
                    color: red;
                }
            }
        }
        // 收藏
        div:nth-child(3){
            width: 100%;
            height: 37px;
            color: #bbb;
            font-size: 24px;
            text-align: center;
            line-height: 37px;
            position: relative;
            dl{
                // display: none;
                
                font-size: 13px;
                position: absolute;
                opacity: 0;
                top: 0;
                left: -130px;
                width: 90px;
                height: 37px;
                border-radius: 1px;
                background-color: #444444;
                transition:all .5s ease-in-out;
                span{
                    display: inline-block;
                    position: absolute;
                    border-left:6px solid #444;
                    border-top: 6px solid transparent;
                    border-right: 6px solid transparent;
                    border-bottom: 6px solid transparent;
                    top: 18px;
                    right: -10px;
                    color: #fff;
                }
            }
            &:hover{
                background-color: red;
                color: #fff;
                dl{
                    opacity: 1;
                    // display: block;
                    left: -90px;
                }
            }
        }
        // 优惠券
        div:nth-child(4){
            width: 100%;
            height: 37px;
            color: #bbb;
            font-size: 24px;
            text-align: center;
            line-height: 37px;
            position: relative;
            dl{
                // display: none;
                opacity: 0;
                font-size: 13px;
                position: absolute;
                top: 0;
                left: -130px;
                width: 90px;
                height: 37px;
                border-radius: 1px;
                background-color: #444444;
                transition:all .5s ease-in-out;
                span{
                    display: inline-block;
                    position: absolute;
                    border-left:6px solid #444;
                    border-top: 6px solid transparent;
                    border-right: 6px solid transparent;
                    border-bottom: 6px solid transparent;
                    top: 18px;
                    right: -10px;
                    color: #fff;
                }
            }
            &:hover{
                background-color: red;
                color: #fff;
                dl{
                    opacity: 1;
                    display: block;
                    left: -90px;
                }
            }
        }
    }
    // 底部
    .r-botm{
        width: 100%;
        height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        div{
            cursor: pointer;
        }
        div:nth-child(1){
            width: 100%;
            height: 37px;
            color: #bbb;
            font-size: 24px;
            text-align: center;
            line-height: 37px;
            position: relative;
            dl{
                // display: none;
                opacity: 0;
                font-size: 13px;
                position: absolute;
                top: 0;
                left: -130px;
                width: 90px;
                height: 37px;
                border-radius: 1px;
                background-color: #444444;
                transition:all .5s ease-in-out;
                span{
                    display: inline-block;
                    position: absolute;
                    border-left:6px solid #444;
                    border-top: 6px solid transparent;
                    border-right: 6px solid transparent;
                    border-bottom: 6px solid transparent;
                    top: 18px;
                    right: -10px;
                    color: #fff;
                }
            }
            &:hover{
                background-color: red;
                color: #fff;
                dl{
                    opacity: 1;
                    display: block;
                    left: -90px;
                }
            }
        }
        // 二维码
        div:nth-child(2){
            width: 100%;
            height: 37px;
            color: #bbb;
            font-size: 24px;
            text-align: center;
            line-height: 37px;
            position: relative;
            dl{
                // display: none;
                opacity: 0;
                font-size: 13px;
                position: absolute;
                top: -100px;
                left: -200px;
                width: 160px;
                height: 186px;
                border-radius: 1px;
                background-color: #444444;
                transition:all .5s ease-in-out;
                img{
                    width: 100%;
                    height: 100%;
                }
                span{
                    display: inline-block;
                    position: absolute;
                    border-left:6px solid #fff;
                    border-top: 6px solid transparent;
                    border-right: 6px solid transparent;
                    border-bottom: 6px solid transparent;
                    top: 115px;
                    right: -10px;
                    color: #fff;
                }
            }
            &:hover{
                background-color: red;
                color: #fff;
                dl{
                    display: block;
                    opacity: 1;
                    left: -160px;
                }
            }
        }
        // 返回顶部
            div:nth-child(3){
                width: 100%;
                height: 37px;
                color: #bbb;
                font-size: 24px;
                text-align: center;
                line-height: 37px;
                position: relative;
                dl{
                    // display: none;
                    opacity: 0;
                    font-size: 13px;
                    position: absolute;
                    top: 0;
                    left: -130px;
                    width: 90px;
                    height: 37px;
                    border-radius: 1px;
                    background-color: #444444;
                    transition:all .5s ease-in-out;
                    span{
                        display: inline-block;
                        position: absolute;
                        border-left:6px solid #444;
                        border-top: 6px solid transparent;
                        border-right: 6px solid transparent;
                        border-bottom: 6px solid transparent;
                        top: 18px;
                        right: -10px;
                        color: #fff;
                    }
                }
                &:hover{
                    background-color: red;
                    color: #fff;
                    dl{
                        opacity: 1;
                        display: block;
                        left: -90px;
                    }
                }
            }
    }
}